<?php

namespace Pmgw3\Bundle\EasyMarketBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Articulos
 *
 * @ORM\Table(name="Articulos")
 * @ORM\Entity
 */
class Articulos
{
    /**
     * @var string
     *
     * @ORM\Column(name="Descripción", type="text", nullable=true)
     */
    private $descripción;

    /**
     * @var float
     *
     * @ORM\Column(name="costo", type="float", precision=10, scale=0, nullable=true)
     */
    private $costo;

    /**
     * @var \Pmgw3\Bundle\EasyMarketBundle\Entity\Relarticulospuntosventa
     *
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="NONE")
     * @ORM\OneToOne(targetEntity="Pmgw3\Bundle\EasyMarketBundle\Entity\Relarticulospuntosventa")
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="id", referencedColumnName="idArtiulos")
     * })
     */
    private $id;



    /**
     * Set descripción
     *
     * @param string $descripción
     * @return Articulos
     */
    public function setDescripción($descripción)
    {
        $this->descripción = $descripción;

        return $this;
    }

    /**
     * Get descripción
     *
     * @return string 
     */
    public function getDescripción()
    {
        return $this->descripción;
    }

    /**
     * Set costo
     *
     * @param float $costo
     * @return Articulos
     */
    public function setCosto($costo)
    {
        $this->costo = $costo;

        return $this;
    }

    /**
     * Get costo
     *
     * @return float 
     */
    public function getCosto()
    {
        return $this->costo;
    }

    /**
     * Set id
     *
     * @param \Pmgw3\Bundle\EasyMarketBundle\Entity\Relarticulospuntosventa $id
     * @return Articulos
     */
    public function setId(\Pmgw3\Bundle\EasyMarketBundle\Entity\Relarticulospuntosventa $id)
    {
        $this->id = $id;

        return $this;
    }

    /**
     * Get id
     *
     * @return \Pmgw3\Bundle\EasyMarketBundle\Entity\Relarticulospuntosventa 
     */
    public function getId()
    {
        return $this->id;
    }
}
